package designPattern.structure7.Facade.chapter10_facade.test10_2;

public class SafetyCheck {
    String clientPacket;

    public SafetyCheck(String clientPacket) {
        this.clientPacket = clientPacket;
    }

    public boolean isSave() {
        if (clientPacket.contains("汽油"))
            return false;
        else
            return true;
    }
}
